require.config({
    baseUrl:'/',
    paths:{
        'jquery':'libs/jquery/jquery-3.4.1.min',
        'header':'js/modules/header',
        'font':'libs/index_font/iconfont',
        'footer':'js/modules/footer',
        'template':'libs/art-template/template-web',
        'bootstrap':'libs/bootstrap/js/bootstrap.min',
        'cookie':'libs/jquery-plugins/jquery.cookie',
        'zoom':'libs/jquery-plugins/jquery.elevateZoom-3.0.8.min',
        'util':'libs/util',
        'swiper':'/libs/swiper4/js/swiper.min',
        'fly':'libs/jquery-plugins/jquery.fly.min'    
    },
    // 垫片：一些不满足AMD规范的模块要依赖别的模块，就要用到垫片
    shim:{
        'bootstrap':{
            // 代表bootstrap依赖jquery
            deps:['jquery']
        },
        'cookie':{
            deps:['jquery']
        },
        'zoom':{
            deps:['jquery']
        },
        'fly':{
            deps:['jquery']
        }
    }

})